<br><br>
<div class="container">
  <form [formGroup]="camForm" id="documentForm" (ngSubmit)="onSubmit(camForm.value)" class="form-horizontal">
    <div class="row" style="border-bottom: inset;">
      <div class="col-sm-4 roomTitle header">
        <span class="glyphicon glyphicon-file"></span>
        <label>用车归还</label>
      </div>
      <div class="col-sm-offset-7 col-sm-1 buttons">
        <button id="btn_submit" type="submit" class="btn btn-default btn-sm buttonAdd" >
          提交
        </button>
      </div>
    </div><br>
    <div  class="row">
      <div class="col-sm-offset-2 col-sm-8">
        <div class="form-group">
          <input formControlName="oid" type="hidden" id="oid" />
          <input formControlName="applicant" type="hidden" id="applicant" />
          <label class="control-label col-sm-2">主题：</label>
          <div class="col-sm-7">
            <input readonly formControlName="subject" type="text" class="form-control " id="subject"/>
          </div>
        </div>
        <div class="form-group">
          <label class="control-label col-sm-2">开始时间：</label>
          <div class="col-sm-4">
            <input readonly formControlName="starttime" class="form-control" type="text" id="starttime" />
          </div>
          <!--<div class="col-sm-1"></div>-->
          <label class="control-label col-sm-2">结束时间：</label>
          <div class="col-sm-4">
            <input readonly formControlName="endtime" class="form-control" type="text" id="endtime" />
          </div>
        </div>
        <div class="form-group">
          <label class="control-label col-sm-2">用车性质：</label>
          <div class="col-sm-4">
            <input readonly formControlName="purpose" type="text" class="form-control " id="purpose"/>
          </div>
        </div>
        <div class="form-group">
          <label class="control-label col-sm-2">出发地：</label>
          <div class="col-sm-4">
            <input readonly formControlName="startpoint" id="startpoint" type="text" class="form-control">
          </div>
          <!--<div class="col-sm-1"></div>-->
          <label class="control-label col-sm-2">目的地：</label>
          <div class="col-sm-4">
            <input readonly formControlName="endpoint" id="endpoint" type="text" class="form-control" >
          </div>
        </div>
        <div class="form-group">
          <label class="control-label col-sm-2">事由：</label>
          <div class="col-sm-7">
            <textarea readonly formControlName="reason" class="form-control textareastyle" id="reason" ></textarea>
          </div>
        </div>
      </div>
    </div>
    <div class="row">
      <div class="row" style="border-top: 1px solid #e5e5e5;">
        <div class="col-sm-4 roomTitle header" >
          <label>车辆信息</label>
        </div>
      </div>
      <div class="row">
        <div class="col-sm-offset-2 col-sm-8">
          <div class="form-group">
            <label class="control-label col-sm-2">车辆：</label>
            <div class="col-sm-4 TB_clmc">
              <input formControlName="car" type="hidden" class="form-control " id="car"/>
              <input readonly formControlName="carName" class="form-control" type="text" id="carName" />
            </div>
            <label class="control-label col-sm-2">车辆类别：</label>
            <div class="col-sm-4">
              <input readonly formControlName="vehicleType" class="form-control" type="hidden" id="vehicleType" />
              <input readonly formControlName="vehicleTypeName" class="form-control" type="text" id="vehicleTypeName" />
            </div>
          </div>
          <div class="form-group">
            <label class="control-label col-sm-2">车牌号：</label>
            <div class="col-sm-4">
              <input readonly formControlName="licenseNumber" id="licenseNumber" type="text" class="form-control" >
            </div>
            <!--<div class="col-sm-1"></div>-->
            <label class="control-label col-sm-2">额定载客数：</label>
            <div class="col-sm-4">
              <input readonly formControlName="passengerCapacity" id="passengerCapacity" type="text"  class="form-control">
            </div>
          </div>
          <div class="form-group">
            <label class="control-label col-sm-2">司机姓名：</label>
            <div class="col-sm-4 TB_clmc">
              <input formControlName="driver" type="hidden" class="form-control " id="driver"/>
              <input readonly formControlName="driverName" class="form-control" type="text" id="driverName" />
            </div>
            <label class="control-label col-sm-2">司机电话：</label>
            <div class="col-sm-4">
              <input readonly formControlName="driverPhone" type="text" class="form-control " id="driverPhone"/>
            </div>
          </div>
          <div class="form-group">
            <label class="control-label col-sm-2">里程：</label>
            <div class="col-sm-4 TB_clmc">
              <input formControlName="driverName" class="form-control" type="text" id="driverName" />
            </div>
          </div>
        </div>
      </div>
    </div>
  </form>
</div>

